package cn.org.july.weixin.service.event;

import cn.org.july.weixin.common.constant.EventType;

/**
 * @auther: wanghongjie
 * @blame: wanghongjie
 * @date: 2020-09-03 06:59
 * @Description:
 */
public interface EventListener {
    /**
     * 事件触发
     *
     * @param event 事件
     */
    String handleEvent(Event event);

    /**
     * 获取事件类型
     * @return
     */
    EventType getEvent();
}
